<layout name="layout_admin" />
<link href="/public/admin/css/goods.css" rel="stylesheet">

<div id="wrap-content">
	<h3>商品管理 >> 商品列表</h3>
	<div class="list_wrap">
		<p><a href="__URL__/uploads">上传图片</a></p>

		<table border="1">
		<thead>
			<tr>
				<th>序号</th>
				<th>标题</th>
				<th>价格(元)</th>
				<th>折扣(%)</th>
				<th>发布时间</th>
				<th>商品图片</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<volist name="list" id="vo">
			<tr>
				<td>{$i}</td>
				<td><a href="">{$vo.title|msubstr=0,20}</a></td>
				<td>{$vo.price}</td>
				<td>{$vo.discount}</td>
				<td>{$vo.ctime|date='Y-m-d H:i:s',###}</td>
				<td>{$vo.be_pic}</td>
				<td>修改，删除</td>
			</tr>
			</volist>
		</tbody>
		</table>
		
		<div class="page_wrap">{$page}</div>
	</div>
</div>